package com.example.android.network.service;

import com.example.android.bean.Register;

import io.reactivex.rxjava3.core.Flowable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface RegisterService {
    @POST("auth/sign")
    Flowable<Register> addUser(@Body RequestBody body);
}
